package com.gimi.cloud.bbp.manage.consumer.service.page;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.gimi.cloud.bbp.common.utils.reqhead.Response;

/**
 * 模块
 * @author zhoufuhang
 *
 */
public interface PageModelService {

	/**
	 * 保存信息
	 * @param requestBody
	 * @param request
	 * @param response
	 * @return 
	 */
	Response saveInfo(String requestBody, HttpServletRequest request, HttpServletResponse response);

	/**
	 * 删除信息
	 * @param requestBody
	 * @param request
	 * @param response
	 */
	Response delInfo(String requestBody, HttpServletRequest request, HttpServletResponse response);

	/**
	 * 获取列表
	 * @param requestBody
	 * @param request
	 * @param response
	 */
	Response getList(String requestBody, HttpServletRequest request, HttpServletResponse response);

	/**
	 * 根据ID获取对象
	 * @param requestData
	 * @param request
	 * @param response
	 */
	Response getInfoById(String requestData, HttpServletRequest request, HttpServletResponse response);

}
